<?php echo $this->fetch("seite/".$_SESSION["language"]."/kontakt"); ?>

<form action="/admin/kontakt" method="post">
	<h1><?php __("Kontaktieren Sie uns"); ?></h1>
	<label for="name"><?php __("Nome"); ?>:</label>
	<input type="text" name="name" id="name" value="<?php echo $data["name"]; ?>" />
	
	<label for="email"><?php __("E-mail"); ?>:</label>
	<input type="text" name="email" id="email" value="<?php echo $data["email"]; ?>" />
	
	<label for="message"><?php __("Nachricht"); ?>:</label>
	<textarea class="contact" rows="5" cols="30" name="message" id="message"><?php echo $data["message"]; ?></textarea>

	<label for="captcha"><?php __("Text im Bild"); ?>:</label>
	<input type="text" class="captcha" name="captcha" value="<?php echo $data["captcha"]; ?>" />
	<img class="captcha" src="/admin/kontakt_captcha" />
	
	<input type="submit" class="btn right" value="<?php __("Senden"); ?>" />
	<?php if($status_message): ?>
	<div class="message right <?php echo $status_code?>" style="text-align:center;max-width:200px"><?php echo $status_message; ?></div>
	<?php endif; ?>
</form>

<div class="left">
	<h1><?php __("Wo wir sind"); ?>?</h1>
	<div id="mapa"></div>
</div>

<script type="text/javascript">
var str_Get_Directions	= "<?php __("Finden Sie Ihren Weg zu uns"); ?>";
var str_Directions		= "<?php __("Detaillierte Routenbeschreibung"); ?>";
var str_Search 			= "<?php __("Suche"); ?>";
var str_Your_Address	= "<?php __("Ihre Adresse"); ?>";
var str_Searching		= "<?php __("Suche"); ?>";
var str_Search_Results	= "<?php __("Suchergebnisse"); ?>";
var str_Empty			= "<?php __("Leer"); ?>";
var str_Reset			= "<?php __("Stornieren"); ?>";
$(function(){
	$("#mapa").GMap({
		position: {lat: 48.218068, lng: 16.394262},
		size: {width:400, height: 400},
		zoom: 15,
		language: '<?php echo $_SESSION["language"]; ?>'
	});
});
</script>